<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<padnug.Domain.Event>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Save
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Save</h2>

    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Fields</legend>
            <p>
                <label for="ID">ID:</label>
                <%= Html.TextBox("ID") %>
                <%= Html.ValidationMessage("ID", "*") %>
            </p>
            <p>
                <label for="MeetingDate">MeetingDate:</label>
                <%= Html.TextBox("MeetingDate") %>
                <%= Html.ValidationMessage("MeetingDate", "*") %>
            </p>
            <p>
                <label for="Host">Host:</label>
                <%= Html.TextBox("Host") %>
                <%= Html.ValidationMessage("Host", "*") %>
            </p>
            <p>
                <label for="Minutes">Minutes:</label>
                <%= Html.TextBox("Minutes") %>
                <%= Html.ValidationMessage("Minutes", "*") %>
            </p>
            <p>
                <label for="Topic">Topic:</label>
                <%= Html.TextBox("Topic") %>
                <%= Html.ValidationMessage("Topic", "*") %>
            </p>
            <p>
                <label for="Location">Location:</label>
                <%= Html.TextBox("Location") %>
                <%= Html.ValidationMessage("Location", "*") %>
            </p>
            <p>
                <label for="Latitude">Latitude:</label>
                <%= Html.TextBox("Latitude") %>
                <%= Html.ValidationMessage("Latitude", "*") %>
            </p>
            <p>
                <label for="Longitude">Longitude:</label>
                <%= Html.TextBox("Longitude") %>
                <%= Html.ValidationMessage("Longitude", "*") %>
            </p>
            <p>
                <label for="MeetingTime">MeetingTime:</label>
                <%= Html.TextBox("MeetingTime") %>
                <%= Html.ValidationMessage("MeetingTime", "*") %>
            </p>
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LeftContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="RightContent" runat="server">
</asp:Content>

